Fixed cookie handling in Laravel 4.0.*

See issue #325 for more info
Added test for jar strategy
Merge pull request #371 from levacic/feature/2.1-cookie-fix

Fixed cookie handling in Laravel 4.0.*