May change this to:

```go
authType := "Basic "
...
if !strings.HasPrefix(auth, authType) {
    ...
}
...
str, err := base64.StdEncoding.DecodeString(auth[len(authType):])
```

... which removes the opportunity for typos and allows us to extend this to cover Digest authentication sometime in the far, far future.