Fix for heroku error with http basic auth