Reset the uploads on login

Clear out images and sqlite file. Deleting the database file is
much faster than removing items one by one.

Warning: when changing accounts you lose queued images. We might
want to change that in future, if we detect that they're there.