Fix log_out test

Looks like the log_out test was failing because I was checking for the
wrong exception type.
Merge pull request #52 from oblakeerickson/fix_log_out_test

Fix log_out test
edit post
Merge branch 'master' into wikify-post