Tests for url authentication