Fixed some login stuff.