Minor tweaks to get things running behind proxy.