Unable to login as a different user when a profile entry exists
When you have profiles defined (in .config/tryton/5.0/profiles.conf), it is not possible to login to a given host/database with a user different from the one set in the profile.
When you have two profiles for the same host/database but with different users, you will always login with the first of the profile that appears in the configuration file.
Cedric mentionned that "clear_profile_combo" takes the first profile matching host/DB and that is could be improved to look for a profile with the same username.
I think it's not enough, I argue that the username should never be overriden. You can look up profile data to find out the port and stuff like that, but you should not change the username supplied by the user.