Reviewer Ellie - Application ID fixes

This exposes the difference between authentication applications and authorization applications there's a change to Ralf and Homestead coming to use the new API.

I've tested that the existing UTs are still working fine.