Fix for usernames and/or passwords that contain invalid xml characters.
Remove accidentally committed printf debug.
Merge pull request #9 from mayfield/master

Fix for username/password with invalid xml chars