I am working on an ASP.NET MVC 5 project, it works fine on local but after deployment on the server, I used OWIN for authentication, it works fine for the first login, but a