Makes Authentication More Flexible
Adds backwards compat for old style auth objects
Adds better test/implementation for deprecated functionality
Merge pull request #393 from sudorandom/auth-revisit

Auth revisit