handle correctly when server return answer to register request when we create a new account. Fixes #1725