If you see the following text,
Sorry, you are not allowed to access this page. after logging into WP admin.
Then you might have change the database prefix. Usermeta table contains
Where the prefix
bz_ is the database prefix specified in
Proof from the source code at https://github.com/WordPress/WordPress/blob/dd46042e3c3b43c5ee3c17862213b0280fb5abfd/wp-includes/class-wp-user.php#L787