The idea is to remove the authentication functionality from the server. The reason is to keep the server being the API to the database only. The server will still use the JWT for authorization.
This change creates opportunity for custom, independent authentication process.
In the future, we will need to switch to OAuth2, see https://lists.openstreetmap.org/pipermail/dev/2023-March/031310.html