title: Django Middleware user is always anonymus (REST, SimpleJWT)
body: <p>I am using <strong>Django REST Framework</strong> alongside with rest_framework_simplejwt and trying to write my own middleware, that will update <code>user.last_request</code> every time user performs one.</p>
  <pre><code>from django.utils.timezone import now
  
  class LastRequestMiddleware:
      def __init__(self, get_response):
          self.get_response = get_response
  
      def __call__(self, request):
          if request.user.is_authenticated:
              request.user.last_request = now()
              request.user.save()
          response = self.get_response(request)
          return response```
  But every time `user.is_authenticated` returns `False'
  </code></pre>