Fix Facebook environment variables.
Properly pass Selenium script errors when running remotely.