I am using Google Web Toolkit and Java Google App Engine to write an app. I have found a situation where the following happens very predictably. I have a servlet the app.yaml entry for which looks like this: This servlet checks that the user is logged in (redundant, I know), looks for the user in the database, and if found