Added support for basic auth.
Merge pull request #18 from jerelthompson/master

Added support for basic auth.