Move with_authentication one step up, so it can be used with Application if needed.
Adapt to singular resource used now by currentuser-data for Application