IDENTITY-2821 authentication.endpoint

Don't have null check here