Fixes https://issues.infn.it/jira/browse/VOMS-367
Compact multiple slashes.