Fix http_authentication_host usage

Without this fix it is impossible to use a host different from config
option "http_authentication_host" after logout (fixup aec2869).