Roles are used only for authenticated users; you will be able to do this via the following code (where myLoginCtl is the ID of your login control):
myLoginCtl.Visible = !HttpContext.Current.User.Identity.IsAuthenticated;
You can place this code in the PreRender event handler. There are alternative methods, but I guess this is the simplest one.