[SSO] Fix issues in sso OAuth example found in code review