Parse session.maxAge as a duration