configuration bugfix
improved configuration options

you should never pass api_enpoint directly, instead use the „account“
option.