Fix 'workflow-instances-detailed.get' API to handle half-empty user accounts properly