Maybe this technique could be used https://superuser.com/a/458577
Better not because If you use this there is an entry of username AND password in the browser history.
But it will be wrong value so it is not a problem.
Did not read right and got it totally wrong - yes - this works.