Throw DialogExceptions when unsuccessful JSON remote calls occur
Corrected error handlig on empty username and failed login attempt