Replace plain passwords with MD5 hash