Fix loginserver crash on DB connect failure
Merge pull request #69 from j883376/login-db-crash

Fix loginserver crash on DB connect failure