tests for MD5 and SHA1 password hashing.