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.