don't pass authSecret into lib.terminate