Add method to client so web interface can get authentication information

Expose a get_http_auth_token method to the web app so it can get the
basic auth token for use in ajax requests