Extracted authorization, pending and tmp docs behaviour to interfaces. Proxy is authorizing