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

Change-Id: I27d1843b6dc380380b5b08b13cc566b22bac8172