Fixed bug with bcrypt not being called properly.