[v6r10] Bunch of fixes for v6r10 - number 7

This PR needs https://github.com/DIRACGrid/DIRACWeb/pull/161 (WebDIRAC) to be merged and released within this one.