Fixed a login if connection information is missing in app.config