fix Basic authentication