Modify Facebook authentication to work around a Safari redirect bug.
Add dummy authentication provider for non-production environments.

This is intended to be used for the Mocha server unit tests, as it requires
authentication to access portions of the API to be tested. This provider
should *not* be exposed in the application itself.
Support authentication in Mocha tests.