Improve the login detection.
Merge branch 'master' of https://github.com/englishtown/CalabashMobileProject
Merge branch 'master' of https://github.com/englishtown/CalabashMobileProject