check the network log in the developer tools. There could be a redirect in there that your application is generating