Update authreg_mysql.c

array +1 error fixed.