Add tests for in memory database.
Implement test coverage for the LoginAuthenticationFilter and fix bugs
- Authentication manager returns null - filter would throw NPE if debug=true or pass otherwise
- Invalid client ID - filter would throw NoSuchClientException instead of BadCredentialsException