Fix duplicate callbacks if bcrypt is available.