fix failling test on Jenkins after ee1e270

This test is failling build on 2.5, 2.6 and 3.0 since #4477
Merge pull request #4594 from cakephp/2.5-fix-jks-build

fix failling test on Jenkins after ee1e270
Trim whitespace from columns before checking for operators.

Fixes #4599
AuthComponent::login() returning deprecated method

Changed $this->loggedIn() to $this->user(), as per the PHPDOC for loggedIn() at line 817
Fixed type-casting for AuthComponent::login()
Merge pull request #4604 from sutt0n/patch-1

AuthComponent::login() returning deprecated method
Merge branch 'master' into 2.6