Login minifix

A bad login does not cause the app to crash anymore