[packagedb-cli/pkgdb2] Fix login against other instances of pkgdb, remember the user's username and fix the update_acl call