fixes httpauth dialog shown problem