Stop 'undefined index 0' error on incorrect login.