Fixed: When adding a SQL user to a database, some SQL users are not listed in the select box
(cherry picked from commit 12824a9)
(cherry picked from commit d216a85)