Moving db from one deployment to another

I have a two lab environments. I recently tried to use database from environment 1 on code in environment 2 and I’m running into authentication issues. Both environments are on the same 5.2 code base, but were isntalled separately. When point nebula from environment 1 to db 2 then I can’t authenticate through sunstone. The password for oneadmin is the same in both environments. Is there some kind of token or salt that is stored somewhere, which would make a difference on how the hashes are decoded from DB ?

Thanks