Adds an error case using GetBasicAuth when no authorization header is present