Clearfix the parts of a thread

Close #1001
unused import
Restore authorization to non-token API requests

When the HTML views (not API views) make requests against the store,
use the session to determine the default user, since no token will be
present on the request.