Login tokens are still deleted even when configured not to be in Accounts.config

I have configured Account settings like this:

Accounts.config({
forbidClientAccountCreation: true,
loginExpirationInDays: 36500
});

I tried loginExpirationInDays: null too but I still get my users logging out after some time. I see that token is deleted but don’t really understand how. The hard part is I cannot reproduce it locally. Maybe someone have any ideas what it could be?