Test authentication. Late commit of User model and client deletion.