Only append client_id a resource id if it is not null