The decision comes after 19 state attorneys general sued the federal government alleging DOGE staffers didn't have authority to access the systems.