Keycloak provides an API endpoint to directly load a group by its path. This commit changes get_group_by_path to not filter the groups locally and instead uses the API endpoint.