This should ensure that after a user decides not to log in their ongoing edits or highlight switches are cancelled and any partially entered login details are cleared.