Add more fields to local registering.
Fix test_auth for local register form.
Bugfix in test_auth.