Login attempt failed Configurator on HASS Restart

Hey folks, I’ve searched and found a few posts on this but haven’t found an answer that has worked.
I access configurator from another machine. I use Configurator to “Restart HASS” I get a notification in Home Assistant:
Login attempt or request with invalid authentication from 127.0.0.1

If I add this to configuration.yaml, I get an error and Home Assistant won’t start:

homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 127.0.0.1/16

Error at startup: Invalid configuration for auth provider trusted_networks: not a valid value @ data[‘trusted_networks’][0]. Got ‘127.0.0.1/24’

I’ve also tried playing with the configurator.py file and adjusting:
USERNAME = xxxxx
PASSWORD = xxxxx
Do these need to be in quotes or anything?

Thanks in advance!