Replacing deprecated hook in login_geoip plugin.