Fixed crashing issue when logging in if no MySQL is setup.
Its a hacky fix, and there's a better way to do it. But I need to learn how :)