removed the fall back to localhost, when incoming ip address is unparseable. login will succeed, but the ip will be set to null. (if we don't know what the ip is, we can't make any access decisions based on ip!)
I added code however that recognizes the ipv6 version of "localhost".
started adding hooks to IpAddress for support of IPv6 addresses.