add API on config to allow to use RPK without certifcate

I add an API to allow to configure scandium to be used with RPK without certificate.
The second commit, is more cosmetic, I think the code is clearer like that. 
for both RPK and X509 no?