Fix IP miscount for banned users
Fix ghost users staying in rooms when a user merged into a banned account
A mismatch between the key in `room.users` and the userid arised due to the fact that users had their `userid` property updated before getting disconnected from the server.