Fixed an issue where setting up the OIDC via an invalid configuration could cause the SSO feature to crash.