Fixed new accounts crashing when attempting to log in