The man at the center of a whistleblower case against Twitter testified before Congress on Tuesday as part of an investigation into what he said were “egregious deficiencies” within the social media company.