Initial test cases for authorization middleware.