Fixed cookie handling in Laravel 4.0.*

See issue #325 for more info