fixed digest-md5 auth to work with prosody as well. thank you Florian Schmaus