Fix missing state selector(dropdown) for logged-in users. issue #1776

I think this issue is a real bug. Maybe it happens when there's only one country allowed...I'm not sure.
I was able to fix it with the changes in the commit