Fix and test for #21741 -- render_to_string without providing a dictionary still puts a dictionary into the context