BUG: html_auth used before instantiation