Fixed oauth problems. bearer token is now granted!