[BUG] Fix hash method for error cases
[POLISH] Clean up compareHash
[CLEANUP] Remove auth tests
[CLEANUP] Remove unnecessary functions
[FEATURE] Authentication complete