Render your starfield animation alone. (Objects hidden)
Render your objects with the starfield turned off.
Load both image sequences into the FXtree.
Use an over node to connect them together.
Use an ouput node to save the results.
Or skip all of that and apply the legacynight shader to a sphere that surrounds the entire scene. (It's slower, but you won't have any artifacts.)