Added basis for authentication
- added a sample test for an authenticated endpoint
- removed un-needed helpers
Minor update to authorization to prevent potential bad return value