Add optional HTTP Basic Authentication