Is this a bug?

When my login fails, I get an error message saying login was incorrect, and I enter my information again. When it is accepted, I get a message on the same page saying "You are logged in as <username>." But I don't get redirected to the CMS! Once I manually put /admin/ in the URL, it works, but shouldn't it automatically redirect?

It only seems to happen when my login fails initially. If i get it right the first time, I get redirected.