tests(oauth): add functional tests for password reset

Fixes #1187.