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

See #6514 for details.
> If for any reason login failed newly created user should be redirected to login form.

For what? To ensure that login fail again? )