Add the missing postauth query for mssql

Add the missing postauth query for mssql