Fix md5 hash never matching

I was always asked for the password because `md5sum | awk` returns `\r\n` at the end, but `Digest::MD5` does not. This commit strips whitespace from both md5 hashes, so this will no longer be a problem.