Check for anonymous user in get_address_form #4224