I think the login info was fine, the UBB changed his username in the config file, and thus it was being submitted wrong due to this odd behavior.
Luket, if I'm assuming this correct (as mentioned above) would you be willing to backup your config file, and go and just submit the db info page to see if it overwrites your mysql username again to narrow down if it is a bug with this area?