The State Department fought hard to win back the cyber authorities that it lost under the Trump administration but did not prevail.