According to my understanding of CQ's login mechanism, a POST request goes to http://localhost:6502/crx/de/j_security_check, which also sets login-token cookie.
This cookie is then used to authenticate and send a request to http://localhost:6502/crx/server/crx.default/jcr%3aroot/.1.json and get the Json for the Root node's children.
My Question here is, why login-token cookie is set for the Session scope. Although The browser session expires when browser is closed, still i'm logged in when i restart the browser.
