Fix bug that makes fail the test 'can configure authorization header' only the first time