v2.5: Improves security of authentication tokens
Hashes authentication tokens for enhanced security. This change stores and retrieves tokens securely by hashing them, mitigating the risk of token compromise. Also fixes an issue related to finding sessions.