Make sure to check no autocomplete features are overwriting credentials when editing a build source.
When editing a build source to set versioning, configuration, environment variables, ..., the username/password field should typically be untouched. However some browsers and password managers like 1Password and LastPass autocomplete the username/password field without you noticing, effectively overwriting existing credentials and rendering them invalid.