Fix error with new users not automatically getting logged in