src/admin/setting/advanced.tpl
<div class="form-group">
<label for="cookiePath">Set path for session cookie</label>
<input class="form-control" id="cookiePath" type="text" placeholder="/path" data-field="cookiePath" /><br />
<p class="help-block">
Leave blank for default
</p>
</div>
src/middleware/index.js
if (meta.config.cookiePath) {
cookie.path = meta.config.cookiePath;
}
I just solved by adding cookiePath..
If there are better solutions, let me know!