Check for stored procedure to fix orphaned users or fix user login which may help. Or create a script of commands which manually you are executing on server to fix users and execute by creating additional step after restore.
---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."