Fixed an infinite redirect loop regarding forcing SSL.