If a user implements the user-auth-service trigger in a plugin and that plugin does not echo the passed in app(s) on stdout, the app is assumed to not exist. This mirrors the functionality for applications in regards to auth filtering.
This may still need auditing to ensure it covers everything and doesn't cause issues, but local testing implies that everything is working as expected.
This won't _also_ fix issues when an app is deployed as there isn't an exposed hook for it, but it should fix many other issues.
For the app deployment problem, we'll need a new hook upstream.
Refs dokku/dokku-redis#138