Fix basic authentication