Allow setting basic authentication
Merge pull request #9 from davehunt/basic-auth

Allow setting basic authentication