Updating test case to properly handle no authCode during the first run.
Merge pull request #13 from mfajer/master

Updating test case to properly handle no authCode during the first run.