Handle status == ok on codeRequest response.

It looks like the response for codeRequest can say it is ok and
don't need to send the code on a sms. If so, fire a onCodeRegister
event with the password included on the reponse.