added HTTP-Basic-Auth for uploads