Handle 401 response in auth.Login() for authed private registries