Are you using SSL? You might need to change the config.php domain to https. If this does not work, if you are using Cloudflare, you might want to try changing https to full (strict) and disabling rocket loader
suggesting this becaause this had fixed it for me just a few days ago