Pass context to HTMLForm, don't use HTMLForm::setTitle

Change-Id: I963ee6a27e6df28bff64f9babd8eaa7a40225c70
Merge "Pass context to HTMLForm, don't use HTMLForm::setTitle"