Registering provider for optional query param in DropwizardResourceConfig.