[#1872] fix(session): restore session, flash before new request even for serveStatic call

Conflicts:
	samples-and-tests/just-test-cases/conf/dependencies.yml