Encode the final password check as well.