HTML5/D3: Remote access login fix