improved the handling of JSF forwards and redirects