Add CSRF checks to module configuration forms