Fixed typo which caused naive login to fail