Basic auth support for mirror