API v2 and password reset fix