Added settings argument to getHostedProfilePageToken