added in validation tests, implemented fix for all params, and refactored findOrCreateAuth, #25 #37 #40