Verify that the URL was parsed correctly.
Change string comparison for AUTH.
Add basic connection test.