added additional cookie validation to prevent issues with pre-1.5 applications
Merge branch '1.5/develop' of https://github.com/fuel/core into 1.5/master