Added a special logic for HtmlUnit to handle empty Hrefs (it was returning the appUrl instead of empty Href attribute as other browsers do).