What's the correct way to handle EOS server credentials?

I would also like to know the answer this. I’ve been manually deleting the server credentials when i package the client and then re-adding them but this is far from optimal