Adds API authentication in a hacked way