Minor fixes to get it working and allow me to create an account.