Added a factory bean for app descriptors that creates the correct app privilege