Add login support for MySQL storage option, fix login panel break with new jQuery