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