This allows you to protect your spring-boot-admin rest api. Supporting basic auth on management-endpoints needs more work.