IMDB login fails by bs4 issue

A very ugly workaround for what looks like a BeautifulSoup issue (https://bugs.launchpad.net/beautifulsoup/+bug/1237763)