Fix session when impersonated user is logged out