bug fixes for BEO oauth tests