Added support for bcrypt login