Bugfix for oauth container