Add basic authorization test. Code coverage is at 68%.