bcrypt compatibility fix (replaces bcrypt with bcryptjs)