An immense hack of millions of government personnel files is being treated as the work of foreign spies who could use the information to fake their way into more-secure computers