Fixed infinite redirects when authenticated user tried to access login p...

...age.

Refs cakephp/cakephp#1670