Generate authentication token

This will generate a bearer authentication token.