public void before() throws Exception {
contentRepository = new Oak()
.with(new InitialContent())
.with(new PropertyIndexEditorProvider())
.with(new PropertyIndexProvider())
.with(new RegistrationEditorProvider())
.with(getSecurityProvider())
.createContentRepository();
adminSession = login(getAdminCredentials());
root = adminSession.getLatestRoot();