[CE backport] Enforced SSO shouldn't break container registry authentication
What
Backports changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14843
Conformity
-
Changelog entry for user-facing changes, or community contribution. Check the link for other scenarios.