fix test for response code
changes to maybe_authenticate_http, includes debug stuff
bump