Fix Devise bug on Heroku