My attempt to create a super simple login system, where registration and login are combined, has somewhat failed. What is likely happening here is the username you want is already taken, which is why it reports the password is wrong. Had the user not existed, it would have created it at that moment and then logged you in.
Try to go through the process with a different username and it should go through (assuming it isn't taken already too).
-Josh