add loose sync token toggle and test to not fail hard on missing sync logs

necessary to enable submissions in scenarios where a sync log was deleted or is no longer in the database
E251 unexpected spaces around keyword / parameter equals