Fix problem with simple login being logged.