fix(offline): Use user's id instead of login in `Doc::isInDomain()` (closes #4509)