httpd: small auth and IPv6 fixes (Kim B. Heino <Kim.Heino@bluegiga.com>)