Added basic auth support.
Merge pull request #2 from LightmakerCanada/master

Added support for basic auth