Updated state for applications with a shared user ID

Fixes #1498