add client_id and client_secret on configuration. add tests for ModuleOptionsFactory