Restore authentication on upload resource - TODO : separate uploadDownloadServlet in two servlets will be more readable