Using sp_change_users_login to fix SQL Server orphaned users http://www.codeproject.com/Articles/594134/How-to-Fix-Orphaned-SQL-Users