Accounts

This adds user authentication when used for some survey endpoints. 

I figured instead of sitting on this, I'd put in the pull req to start a more thorough review.