small cleanup of login dry test