updated for basic authentication. Can log in to blog although we cannot log out.