Login/Register dialog fixes