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

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