Dozens of people were arrested in front of the White House after staging a rally to protest a 1700-mile oil pipeline.