External authentication for Ejabberd This script must be installed on ejabberd server. External authentication should call index.js. It will ask config.authServiceUrl.