Add missing MIDDLEWARE_LOCAL setting