CrazyLogin: fixed issues with MySQL