Error display html instead of plain text

This allow the server to send some nicer error message.