Fixed SSO Critical Bug.