Maybe you can try logging in before changing the file. Then quit steam, change the file and restart your steam system and then try to open steam. This was the exact process I followed and it worked.
Edit : the change to the .desktop file is not applied until you reboot your system.