Updated iSDK with better OAuth2 support not depending on a third party library.