Prevent spring mvc always redirecting to http