Adding basic auth support

This code is not mine, I found it on http://wiedi.frubar.net/blog/2008/03/08/libmaia-xml-rpc-with-qt4/ and I don't understand why it isn't added in the master branch yet.