[FIX] when logging in via cookie, all session values are now set correctly