do not ignore tenant_id kwarg in set_credentials