fixed bug: null pointer exception in case of client credentials grant because user authentication is null