Fix minor bugs in handling the `clientRedirectUrl` parameter for SSO login.