Police may enter a motel room rented by a wanted person without a warrant if the police have reason to believe the wanted person is inside.
A person renting a motel room loses any expectation of privacy after check-out time. At this point, management can give consent to search.
When a person gives consent to search their person for drugs, this search can include the pat-searching of the groin area.
A hotel guest is treated like a tenant. Therefore, a hotel employee cannot give consent to search a room while the guest is occupying it.
A landlord cannot give consent to police to enter a tenant's home and search it.