Skip ident check if using local database

This is done so that the ident check doesn't prevent local testing
of the status API endpoint. It's fail safe because it can only ever
touch the database named localhost/cu-test, which is never true for
production.
Merge pull request #655 from scraperwiki/skip-local-ident

Skip ident check if using local database