Redirect loop when SAML is enabled