The former White House national security adviser was a controversial choice for the United Nations. He was confirmed anyway.