Currently, AuthenticationChallenge expects the client to set NSURLAuthenticationChallenge sender, which cannot be done from C++. Patch forthcoming.
Created attachment 43019 [details] proposed patch
Committed <http://trac.webkit.org/changeset/50882>.