Fix auth with ipv6