Internet identity session

Hi!
Does someone know, how OpenChat keeps the session so long. I use the AuthClient, I set maxTimeToLive to some hours, but that is not working when I set it to one week or so. I have Openchat in my Link list, I did not need to logon for more than 2 weeks now, I want to do the same in my application, please help.