fix (1_7.W001) MIDDLEWARE_CLASSES is not set.
Merge pull request #247 from collinanderson/middleware_classes

fix (1_7.W001) MIDDLEWARE_CLASSES is not set.