Login works, but, register throws a lazy init exception