Assuming anyone can get those objects, then you could do what I do in PTWin and have the application "logout" as its first step. That establishes a valid, but unauthenticated, principal for the UI thread.
Of course if you are using a different thread anyway, then that thread wouldn't have the normal principal anyway. So when you spin up that thread you can establish a valid, unauthenticated principal on that thread before loading the objects.
Copyright (c) Marimer LLC