[SP-1521]: Backport of MONDRIAN-2141 - Roles defined in DSPs don't work in PUC (5.2)

https://github.com/pentaho/pentaho-platform/pull/2075
https://github.com/pentaho/pentaho-platform/pull/2079