added basic auth fix2