I struggled a lot with this, but for me it was something very simple. Just go to the Ultimate Member tab in the Dashboard, then go to User Profiles, and then make sure the target user profile has "yes" ticked for access to the WP admin panel. That did the trick for me.