Fix a couple of bugs with importing stuff, keep track of the IP addresses that users are being created from.