Finally got bcrypt working