President Barack Obama has signed legislation extending a payroll tax cut for two months. The action concludes an end-of-year drama started by the Democrats in the Senate.