Hardcode the encodePassword function to use SHA1 (temporary)