setUsername(userId: string,username: string): User
Names user userId username, keeping the old name as their alias as
renameUser describes, and returns them. The caller has checked the
name: renameUser checks a local one, and federation-service.ts
the handle of a user renamed on their home instance.