added basic auth fix4