Core Auth: Fix undefined index error on hash check