I'm not entirely sure this is to do with the Avast Secure Browser, such security based pages, logons, etc.
These may well have a website expiry duration unless you have entered the logon and mover on from that screen.
Whilst it is possible to pin a tab using the right click on the tab and select pin.
If you haven't yet entered your logon/password, etc. that that should remain pinned.