The federal government’s authority to gather vast quantities of phone records in the hunt for terrorists expired at 12:01 a.m. Monday after Senator Rand Paul,…