Speed up tests for apps using clearance with bcrypt

If clearance detects that it's being run in the test environment, it
will lower the bcyrpt cost factor (essentially, how much it will sleep)
to the minimum.