Correct nil issue in MSRegistrationManager

Found during E2E testing
Merge pull request #285 from toddreifsteck/nh

Fix registrationId save which currently breaks unit tests