Added support for iOS 7 base64 encoding.