Fixes login routine when app is running in Ripple emulator.
Merge pull request #456 from MSOpenTech/ripple

Fixes login routine when app is running in Ripple emulator.