Authenticate with the api

def authenticate(self):
        """
        Authenticate with the api
        """
        resp = self.session.get(self.api_url, auth=self.auth)
        resp = self._process_response(resp)
        return resp