Hashing and check password with Bcrypt in Node.js