BS-8607 : [6.2] Cannot delete a process on multi tenancy

- Refactor the tests with connector
- Add the tenant filter on the mapping hibernate for the archived connector instance