Add the ability to use http basic authentication.
Add tests for basic authentication.
Merge pull request #1 from halcyonCorsair/epahl/http_auth

Add the ability to use http basic authentication (with tests).