Refactored authorize request validation tests