Fix api login to include all values in rhev functions