Get some login functionality to work.