Client makes specific delegation of credentials to the REST

Aligned to https://github.com/dmwm/CRABServer/pull/3990