DefaultUserDirectoryService now depends on MongoOperations instead of -Template.