Appointment Page shows You need to login to make an appointment, when cache is on

On the settings page if I check yes on use built in cache, it does not show my page correctly it only shows: "You need to login to make an appointment. Please click here to register/login: Login". And the login button does nothing when you click it.

So I have two issues with this.
1. I want all of the page content to show up with the calendar whether built in cache is checked yes or no.
2. I want the Login button to work if it is going to be visible.