Fixed bug preventing static files from being downlaod if not logged in