Contract for authenticating a user.
response payload type.
Authenticates a user with the provided credentials payload.