Testing authorization header value generation
Test to ensure errors are caught in client