[5.0] Session data before start session middleware is wiped.

Since the http kernel is exposed on the application level the session is not started at the same place it was back in 4.x. Therefore adding things to the session before the middleware (StartSession) is hit will be wiped. If this is intended it should be noted in documentation that any session data set before the kernel will be wiped.