Change login info in Screen Sharing recents list
Credentials are stored in your keychain, which you can browse using Keychain Access.app in the Utilities folder of Applications.
Search for items named the hostname (or IP) of the device and delete the relevant password item.