If the JS test fuzzer happens to produce code that enables the "requireApiVersion" server parameter, then all test hooks' commands will fail because they don't pass an API version. For example, in jstestfuzz_replication_continuous_stepdown, if the fuzzer enables requireApiVersion, then the CheckReplDBHash hook will fail at the end of the test.
I fixed this for replica set tests in
SERVER-49887 by disabling requireApiVersion in the FuzzerRestoreClusterSettings hook. I didn't notice that that hook only runs at the end of replica set tests, so standalone and sharding tests can still fail.
Let's rename FuzzerRestoreClusterSettings to FuzzerRestoreSettings and run it at the end of all fuzz tests that might enable requireApiVersion.