Add certificate verification code to HTTP AUTH