Change the maxage for a specific session

I created this patch for supporting 'remember me' logins. You can change the maxage of a given session with e.g. session.maxage = 86400000
this is a core private api. i don't think we want to rely on it being there