Fix 'bad login' error