Liverpool fik hjælp af et målmandsdrop af Andre Onana, da de slog Ajax 1-0 og spillede sig videre i Champions League.