Made authentication pluggable.  Created Barman-compatible plugin; not quite finished yet.