check for terms on post, not on auth and pep8 cleaning (bug 864973)