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

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