Fixed a bug when logging via SSO into authenticated context with another principal.