After much arm-twisting and cajoling of his own party, President Obama signed legislation giving him sweeping authority to negotiate trade terms with the 12-nation Trans-Pacific Partnership.