Fixes related to WS-Security, UserToken authentication

I added some fixes related to password digests according to documentation I found online and the server I'm interacting with. I'm by no means a WSSE expert, so feel free to give me feedback.

Hopefully these changes are good.

I added tests as well.

Thanks for the awesome gem!
Jess