Modified the login validation in register.cgi.