Websites that go from HTTP to HTTPS cause authentication problems