Added flag to silently grant app permissions.