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

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