Silence warning about MIDDLEWARE_CLASSES when running tests under 1.7.