I have setup up a WordPress project from Platform sh in my local host. I get get the project by using the platform get [id] command. I Imported the database in my localhost and configured the wp-config.php file and then I have run the platform build command and the build is successful. I have also run platform mount: download to download cache and uploads folder inside wp-content folder. But when I open the site in my localhost it's not showing the pre-signon page and it's not opening /wp-admin/ page. When I open the site it's directly redirecting to the/wp-login.php/ page. And when I try to log in using my username and password it's showing below cookie error:
Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
I have renamed /themes/ folder and /plugins/ folder to /themes-old/ and /plugins-old/ and tried to log in but it's still showing the same error. Here is the screenshot attached for the error: