in reply to Net::Jabber RPCCall

The answer was to use $client->AuthIQAuth() instead of $client->AuthSend(). Connecting with SASL did not work so used old method (AuthIQAuth) instead.