title: Kohana auth login fails every time
body: <p>I'm quite new to Auth module, and i'm trying to get login working, after reading documentation and googling like crazy i have this simple piece of code...</p>
  
  <pre><code>    Auth::instance()-&gt;login('test', 'test');
  if (Auth::instance()-&gt;logged_in()){
     $this-&gt;request-&gt;redirect('user/index/');
  }else{
     echo 'fail';
  }
  </code></pre>
  
  <p>This always returns false, my registration script looks like this:</p>
  
  <pre><code>$model = ORM::factory('user');
  $model-&gt;values(array(
         'username' =&gt; 'admin',
         'email' =&gt; 'adsmin@example.com',
         'password' =&gt; 'test',
         'password_confirm' =&gt; 'test',
      ));
  $model-&gt;save();
  </code></pre>
  
  <p>It creates user just fine, also it sets <code>role_id</code> to 1 and 2 which means i have admins/login rights, but it keeps failing anyways, if i would use <code>Auth::instance()-&gt;force_login($user);</code> everything work's just fine, so i'm guessing problem could be with hashing, but i have no idea where. </p>