Start using api_key User attribute, save it to redis when necessary

* Save user metadata to redis after saving to the database
* Generate an api key when the user is created
Stop using User#get_map_key method

It doesn't make sense to read the api_key from Redis anymore since
we have it on the user api_key attribute