Updated SpringRestOauth to java config and spring boot