Fix the segmentation fault
Sanity checks of the delegation id (should fix EGI RT #5331)
remove files that has been replaced by canl versions