Anonymous Flag with boost module enabled
I'm not too sure, but you'd need to look into how Flag is handling the anonymous user session cookies. You may have to hack the code to add your own user-id and add it to the cookie...