Did you find how to make automated login.
I'm trying to do almost the same thing.
I want the same identity for each user in order to be able to communicate with another web app running on the same server.
Some kind of impersonation will be a good solution too.
I have no solution which I can deploy on a live server yet.
You are well dressed