Cleaning up server permissions for entities application.