Support for different authentication database

https://github.com/spring-projects/spring-boot/issues/1730