GlobalGateway authorize method. Full test coverage for Global Gateway.