Allow the code to run both with and without SSO.