Fixes #5386 cookie class matches symfony class for potential future integration
Merge pull request #5387 from cash/cookie

Fixes #5386 cookie class matches symfony class for potential future inte...
Fixes #5341: Makes sure elgg.session.user is an ElggUser instance