Bug 1034570 - Notify the user if initial registration fails r=arthurcc

I would prefer we make use of sinon.stub for this kind of things.