Concerns about a national security risk in the case against a couple accused of trying to spy for Russia have surfaced in court.