Add AuthenticationEndpointSpecification test

Add AuthenticationEndpointSpecification test