Can i execute a shortcut of launcher with login credentials? help plz

I use Epic games to program and sometime play fortnite, when im not at home my little brother likes to play fortnite but never remembers his password, so i was wondering if there is a way to execute the launcher with the username and password predefined, like you can do with steam.