Howard/api auth

Line is too long. [120/80]<br>Use 2 (not 4) spaces for indentation.<br>Space inside { missing.<br>Space inside } missing.