signup: Fix a mistake of the regex for validation.

* Replace * in the first group to +
* Add some tests.