Load seed data before running tests
Update tests after terms and profile form have been added
Redirect local user back to application after they login

Description of bug:
After logging in as a local user successfully, the user will stay on the
openstax accounts site instead of getting redirected back to the
application they came from.

We use session[:return_to] to store where the user came from (See
config/initializers/doorkeeper.rb).  This is set before the user gets to
the sign in form.  Between the user submitting the sign in form and
SessionsController#authenticated, the session was cleared.  So we were
not able to redirect the user back to the application.

The reason the session was cleared was because the openstax accounts
site has CSRF protection enabled for POST requests.  The sign in form
did not have a CSRF token so session was wiped.
Move do controller reset_password to identities controller
Rename handlers to #{controller_name}_#{method_name}.rb
Remove unused update_user handler
Merge pull request #21 from karenc/fix-local-user-login-redirect

Redirect local user back to application after they login
Merge pull request #25 from karenc/rename-handlers

Rename handlers
fixed a typo
Merge pull request #26 from jpslav/minor-name-typo

fixed a typo
fixed a url_helper issue encountered differently in dev, production, test envs
Merge pull request #27 from jpslav/test-env-api-doc-bug

fixed a url_helper issue encountered differently in dev, production, test envs
better fine print contract seeding, circumvented pesky bug in apipie doc re url helpers
Merge pull request #28 from jpslav/fixes

better fine print contract seeding, circumvented pesky bug in apipie doc...
put seeds back in a way that is friendly to development, test, and production envs
Merge pull request #30 from jpslav/put-seeds-back

put seeds back in a way that is friendly to development, test, and produ...
add http basic protection during beta, but not to API
using secret settings for protect_beta
Merge pull request #31 from jpslav/protect-beta

Protect beta
Merge remote-tracking branch 'upstream/master'