Added the capability to login a user using regular auth, not auth.basic. Also added the ability to upload images to posts