Login extremely difficult

When I try to log in and it asks me to enter the code, it unfocuses from the input field and I can’t seem to re-focus onto it anymore, making it impossible to input anything…
I can’t click anywhere without it unfocusing, which means to actually receive the code I am forced to get a second device.
Additionally, once I actually managed to input the code, nothing happens. I remain not logged in.