WP-3415 Added code to handle authorization checking before triggering download from Alfresco