Service redirect now checks for loop using path - EUCA-6946

Update fix so only the service path is used in the check, not the query
string.

EUCA-6946