Error after restoring the backup in chirpstack docker

I have taken a backup of postgres database in .sql file from the locally installed chirpstack and removed chirpstack_as and chirpstack_ns databases from the chirpstack docker and I have restored the .sql file to the chirpstack postgres docker, now I am getting restored data. After this I could not access the application in my browser it says authentication error. In case I do the docker-compose down and docker-compose up then the browser page doesn’t show anything. If I delete Postgres volume and make docker-compose up then it works correctly but restored data will be removed and an empty database will be generated. can you please help me to resolve this issue?

Thank You