Revert to namespaced ajax middleware since it needs to run before the proxy for oauth1 to work.