Change app authorizations and pages apis to use new arguments.