Fixes a bug on AuthComponent syntax difference between CakePHP < 2.1 and >= 2.1.