Fixing silent fail at session expiration time when delivering a test.

Fixing session expire issue #3315 in redmine