How to delete an account for a now unused ftp server from finders "connect at login" list EDIT2: I found the solution, see my answer below.

EDIT: The question may be a bit misleading I don't have it in the favorites bar, the problem is that finder always tries to connect to a server when I start my machine or log in.

I once saved an ftp server as a "favorite" in finder (so finder would automatically try to connect to it at startup). I no longer use this service, but finder still tries to connect to it automatically at every startup, I'm not sure how to delete this server from the list of servers finder tries to connect to automatically. How do I do that?

Some things I have tried: It has been removed from favorite servers and I also cleared the recent servers list in the "Connect to Server" menu. This had no effect.
Just hold the ⌘ button down, click and hold on the item you wish to remove, and drag it off the Finder’s window.

Additionally you should try Go → Connect to Server (⌘+K). There you must see a list of your favorite servers. If your server is there, you could select it and hit Remove in the bottom of that screen.