This will fail, because add_entry now expects you to be logged in before you post.  Write a login method, and then call that before you do any add_entries tests.  You should also add another test that explicitly tries to post without being logged in, or after being logged out, and expect a 401.