Ensures that the keyring is unlocked before every access to it. This allows
using auto-locked keyrings.