Work round session expiry bug in rails 2.3.11