Fix protection to redirect to Heroku