It would be great if you could log in by pressing enter rathetr than the button.
I had a quick go at coding this but I don't think it is straight forward. I was under the impression that the first button should fire if enter is pressed but I have missed a trick somewhere.
This script will take care of the on enter issue:
dojo.addOnLoad(function() {
var dlg = dijit.byId('dojoLoginDialog');
dojo.connect(dlg, 'onkeypress',
function(event) {
if (event.keyCode==dojo.keys.ENTER) {
login();
}
});