Make Query User Profile use initiator credentials
Allow a user profile lookup that's initiated using the logged in user's credentials or session (i.e. the initiator), or at least the workflow publisher's identity.
The "Office 365 Query User Profile" lookup currently requires you to enter a username and password.
SharePoint Designer 2013 has the ability to query without credentials using the "User Profiles:" action.
SD 2013 example:
Lookup for String
Data source: User Profiles
Field from source: First name
Return field as: As String
Field: Account Name
Value: Current Item: Modified By
Sithembile Mabaso commented
Any progress on this idea
Here's a related idea post that suggests using the "Publisher" as the permissions used: