[FIX] Render of report shouldn't update context

With API 8 context is frozendict that don't support update
[FIX] report: use image widget for company logo
[FIX] test_cursor: new contextmanager to reset the lock during a sub_request