Finds a session name for the specified type or fails if it's not found.
if no session provider registered for type