programmatic login
programmatic login seems to be working. Using back button in browser allows to see restricted page even if logged out.