Fixes https://issues.infn.it/jira/browse/VOMS-504
Merge pull request #9 from italiangrid/fix/VOMS-504

Fix/voms 504