After a temporary lapse in government funding that lasted through the night, the House passed a two-year spending deal early Friday that will also fund the government for an additional six weeks.