Integrate qvitter ApiAuthAction (thanks hannes2peer)
Less verbose logic for checking api authentication