private void MvcApplication_AuthenticateRequest(object sender, EventArgs e) { AuthenticationManager.AuthenticateRequest(new HttpContextWrapper(Context)); }