Modified the login validation in register.cgi.
Merge pull request #26 from krtx/master

Modified the validation of register.