add LoginAndDomainMixin
actually import
Move LoginAndDomainMixin to domain.views
Merge pull request #2525 from dimagi/login_and_domain

add LoginAndDomainMixin