My first guess would be a blank record in the users table.
Does the registration form use validation?
Both the registration and login page should have server side validation in place to prevent submitting a blank email address or password.
to troubleshoot further than that, I'll need to troubleshoot directly, see the private message section.