This is the clean solution, LoginCredentials was the only auth class actually registering stuff in constructor. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>