[fix] add ability to handle basic auth
[test] test for basic auth
Merge pull request #218 from jcrugzz/basic-auth

Add basic auth support
[fix] properly create basic auth (Basic is not base4 encoded)
[fix test] fix test to properly assess auth
Merge pull request #219 from jcrugzz/fix-basic-auth

Fix basic auth
Clean up the Basic Auth patch with correct formatting.
Merge remote-tracking branch 'upstream/master'