test UserDetailsManager.