import of authenticate.php from Apaxy-plus-plus
classification of Heracles