Membership 2 Pro login widget not working

After the update, it is not working correctly anymore. Membership 2 plugin (Pro Unknown) Login is not working but will work if you are logged in as an user through wp-admin. We have narrowed down that its something with the login widget of that site for membership 2. Though creating a widget using shortcode doesn't work either.