website requires security passcode every few hours of being logged out

Using Chrome for windows I can log in with stored credentials but it keeps asking to allow cookies. When I log in a few hours later on the same computer I get a 2FA challenge to enter a security passcode. This has only recently started to happen. Anyone else have this problem?