Extended the authenticate method in TMAPIClient to allow authentication through a UIWebView