The database still has the domain as the URL to use so it will always redirect you to the old server.
The best solution is to change your hosts
file.
123.456.789.0 yourdomain.com
By using the NEW IP address you are forcing your computer to use the new server when going to yourdomain.com
. That way you can login and do everything, making sure all is perfect before switching DNS.