Previously, the connection resource was hard-coded to 'Smack' by
default.
According to RFC 6120 section 7.6. Server-Generated Resource Identifier
if the connecting client does not provide resource string, server will
generate RANDOM one for it.
Smack API allows this by providing null resource in
XMPPConnection#login(username, password, resource) call.
See Smack's SASLAuthentication documentation.
Tested with XMPP sample (including default resource and configuring
as 'Smack').