Bug: authentication credentials auto-filled for SNMPv3 credentials

Hello!

Just stumbled upon another issue. User credentials are used to auto-fill SNMPv3 authentication fields if “Remember me” is selected.

Steps to reproduce:
0. Configure MySQL authentication for LibreNMS.

  1. Open any existing SNMPv2 device, edit SNMP community and save changes. Screenshot: http://prntscr.com/kx33zw
  2. Open SNMPv3 configuration.
  3. Authname and authpass are now your login credentials. Your user credentials are saved in the database. Screenshot: http://prntscr.com/kx34cl

Web server: nginx/1.6.2 with PHP 5.6.37-0+deb8u1 (fpm-fcgi)
Browser: Firefox 62.0

EDIT: It seems to not be reproducible in Google Chrome. For Firefox to have this effect - password should be saved within browser itself (save password for this website).
With this info in hands, I guess it is not really a bug in LibreNMS, but browser instead… Sorry.

Validate output:

====================================
Component | Version
--------- | -------
LibreNMS  | 1.43-110-gd9b4fb5
DB Schema | 268
PHP       | 5.6.37-0+deb8u1
MySQL     | 5.7.20-log
RRDTool   | 1.6.0
SNMP      | NET-SNMP 5.7.2.1
====================================