title: DRF API endpoint getting "Authentication credentials were not provided"
body: <p>I am building some API endpoints with DRF. Here is code snippet.</p>
  
  <pre><code>class ReportsDashboardView(views.APIView):
   permission_classes = (
          IsAuthenticated, IsActiveUser,
   )
  
   def get(self, request, format=None):
    ...
  </code></pre>
  
  <p>I tried to call API via postman basic authentication. But it always returns "Authentication credentials were not provided."
  Here is code snippet for Authentication configuration.</p>
  
  <pre><code>REST_FRAMEWORK['DEFAULT_AUTHENTICATION_CLASSES'] = (
      'rest_framework.authentication.SessionAuthentication',
      'rest_framework.authentication.TokenAuthentication',
      'rest_framework.authentication.BasicAuthentication',
  )
  </code></pre>
  
  <p>I am not sure why basic authentication (username, password) is not working for me.
  Is this something you faced before? Would you like to help me?</p>