Switching Keyboard layout

To switch the keyboard layout (without hand leaving the keyboard) the shortcut Alt+Shfit+L comes in handy. Yet I’ve found it is not always working. Particularly with typing passwords, where the right keyboard layout is key .

Where is the shortcut recognized and where not?