Fixed the order of passed parameters for password resets.
Refactored return data.
Unit tests failed until the data was passed into a variable prior to being returned.