There are no fixes that I am aware of since the application is not designed to be really switched as far as integrations.
I would not even know how to fix albums at this point because the categories table has an old userid and at this point I would not know who would be the old userid.
what we did on photos and comments was grab a new userid based on a username. The favorites and albums are done via a userid not username.
If you have a backup of old photos and comments tables I may be able to try and write a different script but that might take a little while as I would need to somehow work on creating a new field on the photos table say olduserid and pull names from that.