Fix #3: Check session bridge before using it.

When config['session'] is not set, the session
bridge doesn't exist and should not be used.