Fix test interface when using a translation.

The file input element for the input file had a translated name attribute,
which caused the server to ignore the field and complain about missing file.
Fix an testing interface error when the contest has no tasks.