initial wiring for ejabberd external auth thing