[Spring Boot] Fixing RestApiAutoConfiguration.