Wrap the http handlers for auth to reduce duplicate code
Merge pull request #49 from crosbymichael/improve-secure-handler

Wrap the http handlers for auth to reduce duplicate code