Implement sign up as User model scenario (advanced template application refactoring)

See #6514 for details.
IMO, need to split condition (signup and login).
Otherwise it could be frustrating for user that signup is succesfull but ne is redirected back to signup form.
If for any reason login failed newly created user should be redirected to login form.