Add authentication scheme selection

Authentication scheme can be basic or digest.
The default digest behavior has been kept.
after label merge
correction about nullable parameter
fix merge of new plugin config