Fix selecting PKI authentication method