Screenshots for errors and timeouts; authentication settings

Added option for taking screenshot on errors and timeouts. Also added
options for username and password for authenticated remote page test.