Correctly store hashed IPs for localhost in debug mode