Fixed XMPP auth bug