Fix refreshing of login window after FB login.