scripts/account: fix typo in fpassword function