code: def authorize(self):
          
          response = self.client.login(username=self.USERNAME, 
              password=self.PASSWORD)
          self.assertTrue(response)
          self.authed = True
docs: Authenticates the superuser account via the web login.