Match IPv6 addresses as anonymous users

This should solve https://bugzilla.wikimedia.org/show_bug.cgi?id=56560
fix tests with new wsgi_intercept 0.6 and require that version