Only use username part of JID on login()

Use only the username part of a JID on Connection.login(), or else some
servers (e.g. openfire) will throw a "SASL authentication failed using
mechanism DIGEST-MD5" exception on login.