Fixed: Update IP address only if logged in when player quits, not when logging in
This fixes a bug where sessions could be hijacked, even with IP address checking on, as the IP checking was completely ineffective.