WebUI: Set correct HTTP Content-Type in case of forbidden access

The error message is an utf-8 string. With no charset specified,
web browsers will likely use the wrong one making reading the message
in some languages impossibile.
Merge pull request #2052 from pmzqla/v3_1_x-charset

WebUI: Set correct HTTP Content-Type in case of forbidden access