Minor fixups to support authenticate, added bcrypt