New username did not take effect

I changed the username for this account but it did not log me in. I had to login with the old username.