The White House has put itself squarely in the middle of a fight over a planned pipeline that promises much-needed jobs in a weak economy but upsets President Barack Obama's environmental base.