agent: Serialize access to passphrase cache.