Full registration and login workflow now working.