Fix tests for sso connections