divided auth wrappers into multiple subwrappers.