LPS-46832 Move redirect logic from JSP to ServicePreAction