scanner: clean up scan method arguments when related to config
Forwarding explicitly config arguments to scanner/scan method was redundant because they were already present in the config object.
Cleanup the scan method declaration to keep only non-config ones and adapt / simplify some logic parts.