API calls fail silently after session timeout.
==============================================

API starts failing with a 500 error after session time-out.

Steps to Reproduce
------------------

1. Login
2. Wait until session times out (5 min?)
3. Try to create a new entry.

=========  ==========
Created:   2011-06-08
Resolved:  YYYY-MM-DD
=========  ==========