Bugfix 401 during OAuth basic authorization