multitenancy: adapt openchangedb_* calls