Fix for iOS 6 account creation crash.

Change-Id: I817ff71a9529fd173e0717c757dfe74ac87ac0f7