Checks if the user from the session matches with the given by canvas provider