libwbclient: add wbcCheckTrustCredentials()