ECMS-5384: VersionException when uploading a file in a node whose parent is in 'Check in' status

Fix description:
  - donot add token in function canAddNode