fix basic auth for staging