Keyboard layout not usable in all programs
Things you could try:


Move the keyboard layout to /Library/Keyboard Layouts/. Keyboard layouts in the user library can't be selected in password dialogs or the login window.
Change the ID from Keyboard > Set Keyboard ID... in Ukelele.
Save the keyboard layout as a bundle instead of an XML file.


To apply changes to a keylayout file, you can for example run sudo touch /Library/Keyboard\ Layouts/ and log out and back in.