add sample for iOS8, fix default auth