MS SQL Server Error 18456 after database move
First, the error seems something wrong with login (as per following query)

select * from sys.messages
where language_id = 1033 and message_id = 18456


When you told to simply rename DB Name in connectionstring, did you verify which username was used, and the same username exists as login with appropriate permissions on SQL server, you can verify this via SSMS.