Reset authentication state if scheme is not the same as the current states scheme.