Remove params from sudo, make sure to use sudo::from_hash instead

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>