convertValueToAppUser should support both usernames and userkeys