Attempt to resolve infinite redirect login