turn on SESSION_EXPIRE_AT_BROWSER_CLOSE setting.