Add support for all the authentication options.
Merge pull request #63 from coderanger/master

Add support for all the authentication options.