Match IPv6 addresses as anonymous users

This should solve https://bugzilla.wikimedia.org/show_bug.cgi?id=56560