methods.add(new Plain());
sessionContext.getServerRuntimeContext().getServerFeatures().setAuthenticationMethods(methods);
SimpleUserAuthorization users = new SimpleUserAuthorization();
users.addUser(EntityImpl.parseUnchecked("user007@test"), "pass007");
OpenStorageProviderRegistry providerRegistry = new OpenStorageProviderRegistry();
providerRegistry.add(users);
((DefaultServerRuntimeContext) sessionContext.getServerRuntimeContext())
.setStorageProviderRegistry(providerRegistry);
}