While the deployment of the Internal Revenue Service’s pilot of its free online Direct File program was largely successful, the agency must address some security lapses and testing deficiencies, the Treasury Inspector General for Tax Administration said Wednesday.