Minor refactoring for framework authentication

- Adds unit tests for the config parser.
- Less side effects in MarathonSchedulerDriver.
- Better exception msg if secret can't be read.
- Naming cleanup in MarathonSchedulerDriver.