please check this quote :
"POST

-> this will assign you a cookie you will need later
POST

(whith the email and passwd) -> this will return 400 if the creds are wrong
GET

-> this will give you all the accounts available for that email
GET

-> whis will give you info about the servers available (you may not need it)
GET https://lobby.ikariam.gameforge.com/api/users/me/loginLink?id={}&server[language]={}&server[number]={} -> this will return a url
GET - url obtained previously -
I didn't include the parameters of the POSTs requests, but you can find them in the actual implementation in python ->
"
ALSO this one
"
Currently you are logging in using the "old" url: index.php?view=city&action=loginAvatar&function=lo gin
This method does not work any more, so you need to implement the new way
instead of just that POST to view=city&action=loginAvatar&function=login
you will need to make all that requests that i listed before.
"