Auth. Webserver Updates

Brings auth. JSON API more in line with pdnsapi specs.
Also goes hand in hand with current pdnscontrol.