Extend Trac-server authentication to support Images in HTML preview