Add postauth_query for mssql