Fixes + authorized

Fixed archive creation in web/php/ DownloadHandler class and added
incomplete web/php/AuthorizationDownloadHandler class.