Ensure you’re not running into a domain issue by setting both these values in configuration.php as follows:
public $cookie_domain = ”;
public $cookie_path = ”;
This will eliminate the possibility that your cookie is not being set correctly. This might occur when doing local development or on live sites.
More possible solutions: