During the certificate update process via CLI commands, when calling
'ckch_store_replace', we were removing the previous ckch_store before
recreating a jwt tree entry and inserting the new ckch_store. During the
short time frame between the 'ckch_store_free' and the
'jwt_tree_create_entry_from_store' call we had no corresponding entry in
the jwt tree so a 'jwt_verify' call at this exact moment would fail.
Instead of rethinking the whole tree logic, a reference counter was
added to tree entry so that we can update the JWT tree entry with the
new ckch_store data (pubkey/privkey), increase the reference counter so
that the ckch_store_free call on the old ckch_store does not fully
remove the JWT tree entry.