Changed the MatchPassword function to be a little bit more useful.