it should use self.get_lead_by_type(self.LeadKeyRef.COOKIE, cook) instead of calling the service directly