* fix: change auth/V3user to auth/user * refactor: extract to utils/auth.js --------- (cherry picked from commit 6fdd1e3954ca730a082c72e558fd79a54b65084f) Signed-off-by: Andy Lee <andy.lee@suse.com> Co-authored-by: Andy Lee <andy.lee@suse.com>