The connection error is most likely a problem with your testing server and the Site URL field.
I'd have to debug the issue with the forgot password page. If you give me FTP access and steps to reproduce then I can take a look and try to figure it out.