Store serverUrl on the user

We now store the serverUrl on the user so that non-delegate modules can know what to do.
It would be sufficient to just allow you to pass a User object here instead of just the token. What do you think about that?