'Forcibly authenticates outgoing requests with the given
user and/or token.'

def force_authenticate(self, user=None, token=None):

    self.handler._force_user = user
    self.handler._force_token = token
    if (user is None):
        self.logout()
