Make sure OmniAuth redirects to failure action also in dev/test env