typo + whitespace + log failed login attempts with syslog

Signed-off-by: Mattias Andrée <maandree@operamail.com>