agent: Cleanup caching code for command GET_PASSPHRASE.