added basic auth fix3