[Spring Boot] Fix RestApiAutoConfiguration