#39: improve authinfo/netrc parsing and support --netrc-machine=K (default=AWS)