preserve ssh flags' casing when converting username to lower case

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