By restoring the database, you're probably restoring the admin log in info from the other installation. If you set up different IDs and passwords, you'll have to log in with the ID and password used on the original site and then set them up again.