Tests for basic authorization and authentication