The token comparison function did the comparison wrong: The token needs to be an exact match instead of a partial one.