SYNR-598 and SYNR-599
+ Additional unit test for the case of no config file
Merge pull request #123 from kaysoky/SmallLoginStuff

Small change to login/out