small fixies of [SASL-69] and [SASL-70]

Small issues I have found in utility classes. I need them to have Digest MD5 working fine.