Fix registration issues

Only send the verification email if registering with username
and password. Only assign registered badge when finishing registration.
Part of #473
Merge branch 'develop' of gitlab.solas.uni.me:solas-match