Add HTTP client method to retrieve a user by username.

Added a handy method for retrieving a user by their username. This should make it easier to get the user ID which is required for the rest of the API calls.