After 2 hours of debugging and some facepalming, login, account creation and automatic database setup on server start is working. Note that the sql files have been moved into a new folder.

If you want to use your own DB, edit MyDBInfo.java.