Fixed how the session plugin uses it's config