automatically get default parameters

This way we don't need to explicitly request userId, token, provider,
and appId from handleDefaults