seems like some browser loose the accept header for javascript when redirecting. this makes rails look for a non existing html template