Moved generateRandomString() to the token class, got rid of unnecessary ILoginCredentials, fixed bug that checks if you're connected to PHPRedis, fixed miscellaneous typos, updated tests