making change to solve server error, adding regression test case.
Merge pull request #403 from bcipolli/issue_300

Solving uncaught exception during unauthorized central server access