compatibility to latest laravel session changes

details:
https://github.com/laravel/framework/commit/3816e425ae3fdaa69474763737d5