Fixed BasicRestProviders. Now using isPasswordValid instead of doing this validation manually