allow setting endpoint without trampling credentials
Merge pull request #40 from dwwoelfel/merge-credentials

allow setting endpoint without trampling credentials