Fix HasSession error for Laravel4.1.18