Terminal problem

Hi

I connect to Mikrotik through winbox, as soon as I open the terminal, it asks me for the username and password. What should I do so that it does not ask me for the username and password to open the terminal?

If you changed main Mikrotik password before, terminal will ask new password. You need close winbox and log in again.

Open winbox
close all windows
close winbox
open again and solved