Ampersands in passwords are not getting parsed correctly

ampersands in passwords are not getting parsed correctly

If you have one in your password, smack will not let you connect. May be the same as the username.