Login/Register fixes.