[OPR-97]: Adds some more robustness around the authorized for tests.
[OPR-97]: Adds some more robustness around the authorized for tests.

cezarywojcik/Operations,cezarywojcik/Operations,blg-andreasbraun/ProcedureKit,blg-andreasbraun/Operations,cezarywojcik/Operations,ProcedureKit/ProcedureKit,danthorpe/Operations,danthorpe/Operations,danthorpe/Operations,blg-andreasbraun/ProcedureKit,blg-andreasbraun/Operations,blg-andreasbraun/Operations,blg-andreasbraun/ProcedureKit,ProcedureKit/ProcedureKit,ProcedureKit/ProcedureKit