We have found a workaround for the user name problem where it contain i:0#.f|membership | at the beginning of the user name. You must be an administrator to perform the following:
- Select "Manage" SharePoint Online from the "Admin" page on portal.microsoftonline.com
- Select Manage User Profiles
- Select Manager User Properties
- Edit the "Name" property
- In the "Edit Settings" section of the "Name" property choose "Allow users to edit values...."
- Click "OK"
Once the steps above are performed each user should be able to correct their name using the "Edit Profile" function of their respective "My Site".