title: cakephp: Custom Authentication Object authenticate not called
body: <p>The method authenticate in a Custom Authentication Object is never called. Is this a glicth or am I missing something?</p>
  
  <p>I don't get anything in the log, I'm just redirected to users/login (or the one I specified)</p>
  
  <p>CakeVersion: 2.4.1</p>
  
  <pre><code>&lt;?php
  //My custom Auth Class
  //Path: app/Controller/Component/Auth/HashAuthenticate.php
  App::uses('BaseAuthenticate', 'Controller/Component/Auth');
  
  class HashAuthenticate extends BaseAuthenticate
  {
      public function authenticate(CakeRequest $request, CakeResponse $response)
      {
          //Seems to not be called
          CakeLog::write('authenticate');
          debug($this);
          die('gaah');
      }
  }
  </code></pre>
  
  <p>If I add the method getUser() (or unauthenticated() ), those gets called however so at least I know that cake finds the class and so on. It just skips the authenticate-method.</p>
  
  <p>The AppController looks like this</p>
  
  <pre><code>&lt;?php
  // AppController
  App::uses('Controller', 'Controller');
  App::uses('HashAuthenticate', 'Controller/Component/Auth'); 
  
  class AppController extends Controller {
  
      public $helpers = array('Html', 'Form', 'Session');
      public $components =    array('Auth' =&gt; array(
          'authenticate' =&gt; array('Hash'),
          'authorize'      =&gt; array('Controller'),
          )
      );
  }
  </code></pre>
  
  <p>I found a similar question here: <a href="https://stackoverflow.com/questions/18094154/cakephp-2-x-custom-authentication-adapter-quotldapauthorizequot-was-not-fou">CakePHP 2.x custom &quot;Authentication adapter &amp;quot;LdapAuthorize&amp;quot; was not found</a> but there the issue was typos. </p>