TestPasswordInvalidScope and TestPasswordGrantErr