with-authinfo-kludge: Add machinery to restore signals in child processes.