At this point, the router should ask for that username and password (which, again, is probably not the same as the Wi-Fi SSID and network security key). Check your manual or go to RouterPasswords.com, ...
Most of us have been there: You need fast internet and can see a Wi-Fi network with a strong signal listed on your device, but there's a lock icon next to the network ...