IDENTITY-2821 authentication.endpoint

Possible Null Pointer