Prevent SessionUnavailableException when returns back from service.

Event knpbundles.com has this issue. On the first attempt of login you got error: "Your session has timed out, or you have disabled cookies."