The location constructed in the method servePage is missing the context path.
Why not use RedirectBuilder.redirect(exchange, location)?
Within a JASPIC context, HTTPSchemeServerAuthModule is able to delegate the authentication to FormAuthenticationMechanism, whichs fails on this point.