Need to login twice

Hi,

I just upgrade this plugin to version 3.1.7 and getting sync problem for login. When I try to login from mapped domain and submit my information it's redirect to original domain login page again.

Is there any way to fix this?

Thanks.