[SECURITY-842] / [SECURITY-820] Fixing SSO support in the NegotiationAuthenticator for fallback to form authentication