RTGOV-344 Fix SSO issue when accessing the elasticsearch gateway backend