That's completely unacceptable behavior. (And I know that I personally wouldn't want that job if those had been the hiring criteria)