I use passport for authentication and whnever a user logins in the application the cookie value resets and previously stored variables on session are lost what to do?