Fix error on inter-PZH certificate exchange

The requests for external certificates were crashing for two reasons:
lack of a CSRF token, and poor user validation.  This is the fix, plus
a related patch on the PZH Web Server.

Config has also been reset to 443/80

Jira issue: WP-959