IDENTITY-2821 authentication.endpoint

Have an else statement to say Inactive tenant will not be added to list.