Fix connect URL with authentication.

Fix #13
These tests does not run in the browser, can you please move them behind an if?

To check, you can run [testling](https://github.com/substack/testling)