ticket:3. Fixed error in test concerned with error in middleware(we shouldn't use return in def process_request(self, request), becayse it return HttpResponse object)