add basic auth parameter
Merge pull request #1 from mdoi/add-basic-auth

add basic auth