Fixed bug in SQL script for mess_auth tables