fix basic auth
remove debugging