Update session id trait cookie expiry

Added accessor methods for the sesison if cookie expiry field enabling it to be set by anything with access to the session.

Still defaults to 30 days.