Add optional http auth to static server.