Install web-agent in cdsso mode. Set up multiple policies: resource a.html with all-authenticated user default policy and resource b.html with a separate ldap authentication module, but change authentication level to 10. Open protected resource a.html, authenticate, and request protected resource b.html.
Expected: user should be redirected to authentication page when resource b.html is requested. After authentication it should be redirected back to b.html.
Actual: browser is either redirected to authentication page and then back to dummypost url with 404 set as status code or there is a redirect loop after repeated authentication.