Added support for test network calls. Fixed this in login