add test for draft lifecycle and http basic auth