Fix devise config bug for heroku