Extend the autologin cookie duration only for the main request