fix login warnings in logfile