[registration] Restore original domain on registration failure
Merge pull request #27 from thp/restore-domain

[registration] Restore original domain on registration failure