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

See #6514 for details.