programmatic login
programmatic login seems to be working. Using back button in browser allows to see restricted page even if logged out.
Container-managed login works, but jsf pages not shown as supposed to when redirected to