Added test for cancelling edit changes

This test makes sure that the cancelChanges() method reverts the
Authentication.user back to the scope.originalUser