Fixed issue #8799: One time passwords not working