Fixed issue with storing registration data in NSUserDefaults which arise in Mavericks.