Fixed typo in AuthComponent::redirectUrl
Merge pull request #1367 from ravage84/patch-1

Fixed typo in AuthComponent::redirectUrl
Add ordering to prevent occasional pgsql failures.