fix version for passport-local
use  for template engine loading
merge from Tug/nirror-server repo