config refactoring, added login section to define keys etc.

login section now defines the general login data to connect to the nodes
tests for configuration and configurator

implemented all tests for configuration and configurator. the
configparser is mocked, so there is no need for a real configuration
file.