Fix bug in basic auth
Merge pull request #57 from dcorns/dcorns

Fix bug in basic auth