Detects when an SSO redirect chain gets stuck on an identity provider and offers a one-click way back to the original page.