Added redirect after successful URL based login.