add support for BasicAuth
Merge pull request #1 from hloeffler/master

add support for BasicAuth