Bug 1076650: retry registration on a 401 response. r=mikedeboer