Fixed bug when using BasicAuth.