Add simple http authentication

@joneslee85  I did have some questions on this - in the note you said I should use before_action, so perhaps you wanted me to make something more elaborate than just this one line?