Fix double callback bug on incorrect password