Use .well_known
We should reconfigure the homeserver and identity url after the login to use the information contained in well_known
We should reconfigure the homeserver and identity url after the login to use the information contained in well_known