added some helpers for api_access_key generation, and speed up rake spec process