"Invalid username or password" when registering and logging in a user I'm having a really weird issue with user registration. I've got verification turned off, and logging in after activation turned on, so that when a user registers then checks out, it's a seamless flow. And this works. But the login form at /login does not. Whenever I try to create an account I get this in the logs: 

$_POST=array (
  'action' =&gt; 'users/saveUser',
  'redirect' =&gt; '/confirm-account',
  'firstName' =&gt; 'Test',
  'lastName' =&gt; 'User',
  'email' =&gt; 'testuser9181@gmail.com',
  'password' =&gt; REDACTED,
)

$_SESSION=array (
  '8dfc5494412903b44af114111435fc5cYii.CWebUser.flash.error' =&gt; 'Invalid username or password.',
  '8dfc5494412903b44af114111435fc5cYii.CWebUser.flashcounters' =&gt; 
  array (
    'error' =&gt; 0,
  ),
)


Any idea what might be going on here? I have no idea what's causing this, and why it's working on one page and not the other. I can copy/paste the registration code from the checkout page and it will not work at /login. The same template is being extended.
Fixed by upgrading to 2.6.2997.