Magento 2.4.4 Admin Login Redirect Loop/Not Working

If you hit a redirect loop in the admin panel after upgrading to 2.4.4 then you
like had the configuration option system/security/max_session_size_admin set
to 0 to fix an issue with 2.4.3 and session size. Setting it to 0 in 2.4.4
doesn’t work and causes the session to not get written.

If you set it to an actual upper limit then it’ll work:

bin/magento config:set system/security/max_session_size_admin 5120000
bin/magento config:set system/security/max_session_size_storefront 5120000

Clear the cache and you should be able to login afterwards.