Merge pull request #1 from mikepugh/master

Updating config unit test for unauthorizedFn
Shorten or remove some of the conditional statements
Make the request more realistic
Add $location as a second parameter to the unauthorizedFn callback
Update documentation
Merge remote-tracking branch 'original/master'