[WFLY-490] Fix thread safety issue
[WFLY-490] Scoped roles WIP