Fixed registration and password reset APIs