Properly check if at least one and no more credentials arguments is set.