Solution:
WordPress uses cookie to authenticate. So please check the URL first for the admin page. And then double confirm http|https and domain name first.