fixes login issue caused by double hashing the password