add tests for accepting invalid signatures.

Tests and sample configurations for "AcceptInvalidSignatures" option.