Fix for iOS 7.0

authenticateWithCompletionHandler is deprecated on iOS 7.0