heroku/databasedotcom — pull request #113 by tjsousa (2013-02-06 17:56:24+00:00)
Title: Sobject is being set in the environment before effective materialization 

If the materialisation fails due to an authorization problem, for instance, future materializations will reuse an object being set in the environment which is not populated.

Even if another credentials are used, further requests will always get the unpopulated object.