Most of the settings in this file are left as is, but an optional one that you may wish to add is

   <session-config>
      <session-timeout>600</session-timeout> 
   </session-config>

in the area around the handling of WikiSessions.

This will have the effect of extending the cookie time out for log in from 30 minutes to 600 minutes (10 hours).