Move manage_ip_auth_access() to better location.