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

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