python-salesforce-client/salesforce/soap/base.py . self.client.set_options(location=endpoint) response = client.service.login(username, password + token)..