[RJA-2317][fix]: ExternalUserDetailsService - single query to get group authorities
Merge pull request #966 from ddurnev/master

[RJA-2317][fix]: ExternalUserDetailsService - single query to get group authorities