authorization adapter cleanup