Workaround for spring-boot#1364

I found 2 workarounds for https://github.com/spring-projects/spring-boot/issues/1364  and #15 (one in each commit in this PR). The first is to `@EnableGlobalMethodSecurity` and the second is to move the authentication configuration into a `GlobalAuthenticationConfigurationAdapter`.