I'd have to debug it. This error occurs when viewing the page in the browser? I still think it is an issue with the connection information. It might be missing columns in your localhost database. Are you able to get data from a recordset using the same connection on your localhost?
Can you attach the version of the authentication.php page you are using so I can look at that line?