signup form validation refactoring

Optimized initialization of template_values dict,
eliminated 2 unnecessary assignments
Merge branch 'hotfix/0.1'

* hotfix/0.1:
  signup form validation refactoring