Fix ejabberd external auth