bugfix : fetch encrypted doc by request

TODO : add tests for this