(GH-1038) add support for `check-valid-until` configuration