Do /register <password>
Wait an undeterminable period of time. (Yes it really is that ambiguous.)
Then do /login <password>
Do /register <password>
Wait an undeterminable period of time. (Yes it really is that ambiguous.)
Then do /login <password>