fix password reset uid retrieval