Fix for issue 2016 ssh keys not flushed

ssh keys that are added and deleted via the command line command
set-account username --add-ssh-key don't take effect until after
the caches have been flushed manually. This is cause by the fact
that account.getUserName returns null.

Change-Id: I23e66d5734f21bb5e378cfb99d4507379fc9334b
1 file changed