Improve promise-code in setHashedPassword and verifyPassword.