modified tests to pass basic auth headers