Old workflows registration when migrating a request from PREP. fixing #662 and #656

Signed-off-by: PdmV Service <pdmv.service@cern.ch>