Configure rotating log file handler; sort out secure cookie-based session settings.