agent: fix loading keyring on agent start