add authorization to liberator resource
update tests to include authentication and add new tests to check authentication
add auth namespace with token helper functions