[TASK] Make frontend login compatible with csc and fsc