Change log levels for invalid api keys to error