Install WPA 5.8
Check the redirect and authentication to AM works
Now, add a conditional URL that contains a query string and uses a chain that doesn't exist e.g.
Test the agent again and access www.example.com:8000/?test=true. It should try to use the non existent chain and fail (confirming the mapping works)
Re-test access to www.example.com:8000/?test=true - it will redirect to AM/default chain proving the conditional URL no longer works