Fixed new users not being able to log in