Change throws clause of InMemoryClientDetailsService

Fixes gh-196