Prevent use buildModule instead of asModule

This PR prevent developer call buildModule instead of asModule to create a Auth Module instance