Add autocomplete=off to gitweb/login.html.
Patch gitweb to add autocomplete=off to any input field in the gitweb pages.

~/gitweb> wget http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
~/gitweb> wget http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.map