A midnight deadline is set to lapse in the U.S. Senate, as efforts falter to extend surveillance programs.