debugging basic auth