SYNR-407

- login/logout has been implemented but not fully integrated
Changed REST calls to use only the API key.
Changed unit tests to no longer care about tokens and auth mode.
See SYNR-545
- Code review style changes
- Added some tests for login
- Added tests for login (forget to check a box last commit)
- Added mocking code for test usage
- Fixed one error found via test
- Added a unit test for the ConfigParser.
- Slightly extended functionality of ConfigParser
Spelling error.