Login/registration now works as expected.