Fix NPE logged on error level, when starting up without credentials