Switch metadata connection method from ObjectFactoryMulti2 (via ServerDef and CreateOMRConnection) to AuthenticationService (via Login, UserContext, SetOmrCredentials and Repository).