libcli/security: handle node initialisation in one spot in insert_in_object_tree()