check to make sure redirect-to-login-page always generates html