fix conflicting $ip tmp variable name

1 job for !1534 with 6244-3-2-7-remote-api-login-fails-if-restricted-by-remote_ips in 8 minutes and 12 seconds (queued for 21 seconds)
latest merge request