fixes for tests, wrt 401,403,302,301 response codes when adding data by URL