Api authentication with tokens stored in redis db