fixes for bcrypt with heroku