fix: single responsibility  in AuthorizationGateway fixed
fix: Tests fixed after fixing the single responsibility problem in AuthorizationGateway