Only evaluate request's user attribute in the middleware if it exists.