Don't register until identified

Client registered before identifying itself, which makes it send a
mydist before it has an ID.