Add module extensions to apply auth to the module