Refreshes our db connection prior to login and prevents chat breaking.

Hackish, yes. Fixable, yes. I don't have time now though.