code: function loadSecurityContext () {
  	AuthModel = models[inflector.pluralize(configuration.security.model)];
  	const Model = models[inflector.pluralize(configuration.security.model)];
  	/* istanbul ignore if */
  	if (!Model) {
  		return;
  	}
  	passport.serializeUser(function (user, done) {
  		done(null, user._id);
  	});
  	passport.deserializeUser(function (id, done) {
  		Model.findById(id).then(done.bind(null, null), done);
  	});
  	for (const strategy of Object.keys(configuration.security.strategies)) {
  		const STR = configuration.security.strategies[strategy];
  		try {
  			let component = STR.package || /* istanbul ignore next: I have to change the proyect structure */`passport-${strategy}`;
  			let Strategy = require(ProyPath('node_modules', component));
  			let args = [];
  			/* istanbul ignore next */
  			if (STR.strategy) {
  				Strategy = Strategy[STR.strategy];
  			}
  			/* istanbul ignore else */
  			if (STR.identifier) {
  				args.push(STR.identifier);
  			}
  			/* istanbul ignore else */
  			if (STR.options) {
  				args.push(new Strategy(STR.options, STR.secret || getuser));
  			} else {
  				args.push(new Strategy(STR.secret || getuser));
  			}
  			passport.use(...args);
  		} catch (err) /* istanbul ignore next */ {
  			debug(err);
  			debug(inflector.camelize(`${strategy}_strategy`) + ' not found');
  			debug(`You might try npm install ${STR.package}`);
  		}
  	}
  }
docs: Reads the configuration from config/security.js and register all the passport strategies