TEZ-884. Add parameter checking for context related user API's (Tsuyoshi Ozawa via bikas)