Add support for basic auth

This commit adds a username and password parameter to the type and a
basic_auth implementation in the provider for http, to allow specifying
remote sources that require it.
Merge pull request #13 from reidmv/basic_auth

Add support for basic auth