Fix navbar in autofill.htm

Commits d006e3d, 8ef876d and 3ddf1a7 changed some logic in the navbar
but the change were not reflected in autofill.htm. Fix this.