#140: redo signature caching logic for SSH agent