Fixed bug on one time code create password authentication