Add unit testing for user and add passwordless plugin

@popasquat89 Up for review.