Wanted to make the thrown exception for the authorize methods an ApiAccessException