  
          if api_settings.UNAUTHENTICATED_TOKEN:
              auth = api_settings.UNAUTHENTICATED_TOKEN()
          else:
              auth = None
  
          return (None, user, auth)
  
      def __getattr__(self, attr):
          """
          Proxy other attributes to the underlying HttpRequest object.
          """
 
</s> remove             auth = api_settings.UNAUTHENTICATED_TOKEN()
 </s> add             self._auth = api_settings.UNAUTHENTICATED_TOKEN() </s> remove             user = api_settings.UNAUTHENTICATED_USER()
 </s> add             self._user = api_settings.UNAUTHENTICATED_USER() </s> remove             user = None
 </s> add             self._user = None </s> remove                 user, auth = user_auth_tuple
                return (authenticator, user, auth)
        return self._not_authenticated()
 </s> add                 self._authenticator = authenticator
                self._user, self._auth = user_auth_tuple
                return

        self._not_authenticated() </s> remove             self._authenticator, self._user, self._auth = self._authenticate()
 </s> add             self._authenticate()
            self._auth = None
  
          if api_settings.UNAUTHENTICATED_TOKEN:
              auth = api_settings.UNAUTHENTICATED_TOKEN()
          else:
            self._auth = None
            self._auth = None
            self._auth = None
  
      def __getattr__(self, attr):
          """
          Proxy other attributes to the underlying HttpRequest object.
          """
keep keep keep keep replace replace replace keep keep keep keep keep
 request.user should be still be accessible in renderer context if authentication fails 
rest_framework/request.py