JCR-3987: JcrUtils.getOrCreateByPath fails if session is not allowed to read root (patch by Carsten Ziegeler)