Revert "user_id not required for authorization_code grant type"

This reverts commit d59a7c1086ae401cb80f7cbfb1c8074d28f72ba6.
user_id not required for authorization_code grant type