Fix password md5 checking.