Minor tidy-up of client Basic authentication