You type the right password, the page reloads, and you are back at wp-login.php. The login worked. The cookie that remembers it did not stick.
define('WP_HOME','https://example.com'); and define('WP_SITEURL','https://example.com'); with your real address. http against https, or www against no www, breaks the cookie.if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO']==='https') $_SERVER['HTTPS']='on'; near the top of wp-config.php.If it still fails, send me the address and I will tell you which step is broken.
Want the rest of your site checked after it is back? Run a free 40-point check at tinkeraudit.com.