Attribute IP addresses to users while authenticating against external server