Fix various problems which made the signing-key notary server time out for some requests.