don't log 4xx errors at error level
disable logs during tests

fixes #9