redirect to domain if included in login url
Merge pull request #3105 from dimagi/login-redirect

redirect to domain if included in login url