Added debug messages to OAuth 2 session.