Implemented custom AuthenticationProvider and UserDetails. Implemented
UserDetails helper for velocity.