World number one Naomi Osaka needed three sets to see off Maria Sakkari in the first round of the Birmingham Open on Tuesday.