Quick & dirty mitigation of database corruption issue when YubiKey is
removed. Added relevant debug statements.