Of course it can be done with a dll, but it's quite some effort to set it up for just the login data. And it looks and feels... dirty... but that's up to the user to decide. I'm only giving some ideas.

btw: cheaper is not possible. Letting some script resource is afaik legal and costs you nothing. It can't get any cheaper than that.