added basic auth fix6