WebAuthorProfile: fix XSS vulnerability

* Fixes cross-site scripting vulnerability due to lack of escaping
  variables in output.

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>