FrontendAuthentication is broken (Typo3 v12)

Issue #65 resolved
David created an issue

Trying to use the FrontendAuthentication on Typo3 v12.4 results in the following error:

Too few arguments to function TYPO3\CMS\Core\Authentication\AbstractUserAuthentication::getAuthInfoArray(), 0 passed in /var/www/html/src/vendor/nng/nnhelpers/Classes/Utilities/FrontendUserAuthentication.php on line 51 and exactly 1 expected

getAuthInfoArray expects the ServerRequestInterface as a parameter, thus sending $GLOBALS['TYPO3_REQUEST'] fixes the issue, tho that might not be the most elegant way to get said request.