GTNPORTAL-3389 URL query parameters are not propagated when going through the authentication process
GTNPORTAL-3389 fix the case when there is no query string param