British premier throws support behind Labour candidate in closely watched by-election